using System;
using AntEater.ComponentModel;

namespace AntEater.Runtime.UI
{
    /// <summary>
    /// The build file presenter interface defines an interface for
    /// the managing of presenting a build file.
    /// </summary>
    public interface IBuildFilePresenter : IPresenter
    {
        /// <summary>
        /// Occurs when a file shoud be opened in a specific view.
        /// </summary>
        event EventHandler<BuildFileViewEventArgs> OpenFile;

        /// <summary>
        /// Gets or sets the build file.
        /// </summary>
        /// <value>The build file.</value>
        BuildFile BuildFile {
            get;
            set;
        }

    }
}
